<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>从session中取数据</title>
</head>
<body>
    <p>session date:<s:property value="#session[\"data\"]"/> </p>
    <p>session date:<s:property value="#session['data']"/> </p>
    <p>session date:<s:property value="#session.data"/> </p>
    <p>session date:${sessionScope.data}</p>

    <p>application date:<s:property value="#application.data"/> </p>
</body>
</html>
